import java.util.Map;

/**
 * @author gaopeng
 * @date 2019/12/21 6:07 下午
 */
public class SubSymbolExpression extends SymbolExpression {
    public SubSymbolExpression(Expression left, Expression right) {
        super(left, right);
    }

    @Override
    public int interpreter(Map<String, Integer> var) {
        return this.left.interpreter(var) - this.right.interpreter(var);
    }
}
